#include "mainwindow.h"
#include <QApplication>
#include "easylogging++.h"

INITIALIZE_EASYLOGGINGPP

int main(int argc, char *argv[])
{
    el::Configurations defaultConf;
    defaultConf.setGlobally(el::ConfigurationType::Format, "%datetime{%H:%m:%s-%z}|%level %msg");
    defaultConf.setGlobally(el::ConfigurationType::Filename, "logs\\%datetime{%Y%M%d}.log");
    el::Loggers::reconfigureLogger("default", defaultConf);

    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    return a.exec();
}
